package com.ruoyi.security.controller;

import com.ruoyi.security.common.R;
import com.ruoyi.security.model.OperLogEvent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/oauth")
@Slf4j
public class ReceiveLogMessagesController {

    @PostMapping("/log")
    public R getId(@RequestBody OperLogEvent operLogEvent) {
        System.out.println("id: "+ operLogEvent);
        //安全审计
        return R.ok(null);
    }
}
